﻿@model WeddingEventManagementApp.Models.RegisterModel

@using (Html.BeginForm("NewUser", "Setting", FormMethod.Post))
{
    <div class="row">
        <div class="twelve columns">
            <h4>New User</h4>
            @Html.ValidationSummary(true, "There has been an error processing your request", new {@class="no-bullet"})
        </div>
    </div>
    
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m => m.UserName)
            @Html.ValidationMessageFor(m=>m.UserName)
            @Html.EditorFor(m=>m.UserName)
        </div>
    </div>
            
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m=>m.Email)
            @Html.ValidationMessageFor(m=>m.Email)
            @Html.EditorFor(m=>m.Email)
        </div>
    </div>
            
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m=>m.Password)
            @Html.ValidationMessageFor(m=>m.Password)
            @Html.EditorFor(m=>m.Password)
        </div>
    </div>
            
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m=>m.ConfirmPassword)
            @Html.ValidationMessageFor(m=>m.ConfirmPassword)
            @Html.EditorFor(m=>m.ConfirmPassword)
        </div>
    </div>
    <div class="row">
        <div class="twelve columns">
            <input type="submit" class="button" value="Save" />
        </div>
    </div>
}